package com.keqiang.chart.impl.pie.render

import android.graphics.Canvas
import com.keqiang.chart.impl.pie.BasePieEntity

/**
 * 标签绘制器
 *
 * @author Created by wanggaowan on 2022/8/8 14:28
 */
interface ILabelRender {
    /**
     * 绘制标签内容，此时[BasePieEntity.drawStartAngle]、[BasePieEntity.drawSweepAngle]、[BasePieEntity.drawRadius]已就绪，
     * 可基于此数据绘制标签
     */
    fun onDraw(canvas: Canvas)
}